<template>
    <view class="empty">
        <image src="/static/occupy/zwsj.png"></image>
        <view class="text">{{ text }}</view>
    </view>
</template>

<script>
    export default {
        name: "Loading",
        props: {
            // 空文字
            text: {
                type: String,
                default: "暂无记录"
            }
        },
        data() {
            return {
            };
        },
        computed: {},
        methods: {},
        mounted() {},
    };
</script>

<style scoped lang="scss">
    .empty {
        padding: 32rpx;

        image {
            width: 244rpx;
            height: 208rpx;
            display: block;
            margin: 0 auto 32rpx auto;
        }

        .text {
            font-size: 28rpx;
            color: #aaa;
            text-align: center;
        }
    }
</style>